package com.goods.business.service;

import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

/**
 * @author Decheng Kong
 * @date 2021/11/9 21:16
 */
public interface ConsumerService {
    PageVO<ConsumerVO> findConsumerList(Integer pageNum, Integer pageSize, ConsumerVO consumerVO);

    void addConsumer(ConsumerVO consumerVO);

    ConsumerVO getConsumer(Long id);

    void updateConsumer(Long id, ConsumerVO consumerVO);

    void deleteConsumer(Long id);

    List<ConsumerVO> findAll();
}
